package com.iter.devbox.pattern.mediator;

public class Client {

	public static void main(String[] args) {
		ConcreteMediator mediator = new ConcreteMediator();
		ConcreteColleagueA a = new ConcreteColleagueA(mediator);
		ConcreteColleagueB b = new ConcreteColleagueB(mediator);
		mediator.colleagueChanged(a);
		mediator.colleagueChanged(b);
	}
}
